<script lang="ts" setup>
import type { SchoolApi } from '#/api/edu/base/school';

import { useDescription } from '#/components/description';

import { useStatusDetailSchema } from '../data';

const props = defineProps<{
  school: SchoolApi.School;
}>();

const [Descriptions] = useDescription({
  bordered: false,
  size: 'middle',
  column: 3,
  labelWidth: 120,
  schema: useStatusDetailSchema(),
});
</script>

<template>
  <Descriptions :data="school" class="mx-4" />
</template>
<style scoped></style>
